82c6ed6661cc601fdaae0aee8c59b2dcc05e4340,portal-impl/src/com/liferay/portal/language/LanguageResources.java,LanguageResources,getSuperLocale,#Locale#,69
Before Change
}
private static Locale getSuperLocale(Locale locale) {
if (!locale.getVariant().equals(StringPool.BLANK)) {
return new Locale(locale.getLanguage(), locale.getCountry());
}
After Change
}
private static Locale getSuperLocale(Locale locale) {
if (Validator.isNotNull(locale.getVariant())) {
return new Locale(locale.getLanguage(), locale.getCountry());
}